home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
Puzzle
/
chibi.swf
/
scripts
/
DefineSprite_186
/
frame_71
/
DoAction.as
Wrap
Text File
|
2006-05-23
|
642b
|
36 lines
bai -= "5";
if("100" >= bai)
{
bai = "100";
}
Xposi = getProperty("tarM", _X);
Yposi = getProperty("tarM", _Y);
Xbai = (bai - "100") * "2";
Ybai = (bai - "100") * "1.5";
if(- Xbai >= Xposi)
{
setProperty("tarM", _X, - Xbai);
}
else if(Xposi >= Xbai)
{
setProperty("tarM", _X, Xbai);
}
else
{
setProperty("tarM", _X, Xposi - Xposi * "0.02");
}
if(- Ybai >= Yposi)
{
setProperty("tarM", _Y, - Ybai);
}
else if(Yposi >= Ybai)
{
setProperty("tarM", _Y, Ybai);
}
else
{
setProperty("tarM", _Y, Yposi - Yposi * "0.02");
}
setProperty("tarM", _xscale, bai);
setProperty("tarM", _yscale, bai);